<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">

<link href="style.css" rel="stylesheet" type="text/css" media = "screen">
<link href="print.css" rel="stylesheet" type="text/css" media = "print">

</head>
<body>
<div id = "wrapper">

<div id = "container">
	<h1 class = "header">ผลการประเมินของผู้ประเมินภายนอก</h1>
	<br>
	<div class = "center" id = "evaluation">
		<button class="print" onclick="javascript:window.print()">พิมพ์รายงาน</button>
		<h2>{$group[$id-1][name]}</h2>
		<form action = "evaluation-update.php" method = "post">
			<input type = "hidden" name = "gid" value = "{$id}">
			<div class = "center" id = "evaluation">
				<table cellpadding = "0" cellspacing = "0" border = "0" class = "list">
					<tr>
						<td class = "head">จุดแข็ง / แนวทางเสริมจุดแข็ง</td>
						{if="$user['level_name']=='board'"}
						<td><textarea class = "h100 w350" name = "strength">{$evaluation[strength]}</textarea></td>
						{else}
						<td class = "h100 w350">{$evaluation[strength]}</td>
						{/if}
					</tr>
					<tr>
						<td class = "head">จุดที่ควรพัฒนา / ข้อแนะนำในการปรับปรุง</td>
						{if="$user['level_name']=='board'"}
						<td><textarea class = "h100 w350" name = "developed">{$evaluation[developed]}</textarea></td>
						{else}
						<td class = "h100 w350">{$evaluation[developed]}</td>
						{/if}
					</tr>
					<tr>
						<td class = "head">แนวทางปฏิบัติที่ดี / นวัตกรรม (ถ้ามี)</td>
						{if="$user['level_name']=='board'"}
						<td><textarea class = "h100 w350" name = "innovation">{$evaluation[innovation]}</textarea></td>
						{else}
						<td class = "h100 w350">{$evaluation[innovation]}</td>
						{/if}
					</tr>
					<tr>
						<td class = "head">ข้อเสนอแนะ</td>
						{if="$user['level_name']=='board'"}
						<td><textarea class = "h100 w350" name = "suggestion">{$evaluation[suggestion]}</textarea></td>
						{else}
						<td class = "h100 w350">{$evaluation[suggestion]}</td>
						{/if}
					</tr>
				</table>
				{if="$mode!='preview'"}<input type = "submit" value = "ตกลง">{/if}
			</div>
		</form>
	</div>

	<div class = "clear"></div>
</div>

</div> <!-- wrapper -->

</body>
</html>